#include <algorithm>
#include <fstream>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
using namespace std;

int main()
{
    istream_iterator<int> is(cin);
    istream_iterator<int> eos;
    ostream_iterator<int> os(cout, "\n");
    vector<int> test(is, eos);
    transform(test.begin(), test.end(), os, [](int x)
              { return x * x; });
}